﻿using SqlSugar;

namespace YOUYOU.Models.Entities.DBModels
{
    /// <summary>
    /// 主要慢性病患者筛查登记表及随访记录表
    /// </summary>
    [SugarTable("sift_primaryScreening", TableDescription = "主要慢性病患者筛查登记表及随访记录表")]
    public class SiftPrimaryScreening
    {
        /// <summary>
        /// 主键自增
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int Id { get; set; }

        /// <summary>
        /// 病人ID
        /// </summary>
        public string Patientid { get; set; }

        /// <summary>
        /// 门诊ID
        /// </summary>
        public string? Outpatientid { get; set; }

        /// <summary>
        /// 筛查日期
        /// </summary>
        public DateTime? Screeningdate { get; set; }

        /// <summary>
        /// BMI（0是BMI ＜ 24 ，1是BMI ≥ 24）
        /// </summary>
        public string? Bmi { get; set; }

        /// <summary>
        /// 腰围
        /// </summary>
        public string? Waistline { get; set; }


        /// <summary>
        /// 是否抽烟（0是，1否）
        /// </summary>
        public string? Smoke { get; set; }

        /// <summary>
        /// 运动 ( ＜每周＜ 150 min 中等强度身体活动或＜ 75 min 高强度身体活动 )(0是，1否)
        /// </summary>
        public string? Motion { get; set; }

        /// <summary>
        /// 空腹血糖 单位mmol/L
        /// </summary>
        public string? Bloodsugar { get; set; }

        /// <summary>
        /// 血清总胆固醇 单位mmol/L
        /// </summary>
        public string? Serumcholesterol { get; set; }

        /// <summary>
        /// 低密度脂蛋白胆固醇 单位mmol/L
        /// </summary>
        public string? Ldlcholesterol { get; set; }

        /// <summary>
        /// 高密度脂蛋白胆固醇 单位mmol/L
        /// </summary>
        public string? Hdlcholesterol { get; set; }

        /// <summary>
        /// 是否高危，0为一般人群（小于 3 个指标） 1为高危人群（大于等于 3 个指标）
        /// </summary>
        public string? Risk { get; set; }

        /// <summary>
        /// 填表人
        /// </summary>
        public string? FillingMan { get; set; }

        /// <summary>
        /// 填表人科室
        /// </summary>
        public string? FillingDept { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        public string? Phone { get; set; }

        /// <summary>
        /// 医院名
        /// </summary>
        public string? hospitalNmae { get; set; }
        ///// <summary>
        ///// 左侧血压
        ///// </summary>
        //public string? LeftBlood { get; set; }
        ///// <summary>
        ///// 右侧血压
        ///// </summary>
        //public string? RightBlood { get; set; }
        /// <summary>
        /// 筛查单号
        /// </summary>
        [SugarColumn(ColumnName = "ScreeningCode")]
        public string? ScreeningCode { get; set; }
        /// <summary>
        /// 左侧血压收缩
        /// </summary>
       [SugarColumn(ColumnName = "LeftBloodSbp")]
        public string? LeftBloodSbp { get; set; }
        /// <summary>
        /// 左侧血压舒张
        /// </summary>
        [SugarColumn(ColumnName = "LeftBloodDbp")]
        public string? LeftBloodDbp { get; set; }
        /// <summary>
        /// 右侧血压收缩
        /// </summary>
        [SugarColumn(ColumnName = "RightBloodSbp")]
        public string? RightBloodSbp { get; set; }
        /// <summary>
        /// 右侧血压舒张
        /// </summary>
        [SugarColumn(ColumnName = "RightBloodDbp")] 
        public string? RightBloodDbp { get; set; }

    }
}
